import wpsreq from "../wpsrequest";

export function getAccesstoken(data){
    return wpsreq.get("/oauthapi/v2/token",{
        params:{
            appid:data.appid,
            appkey:data.appkey,
            code:data.code
        }
    })
}